﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User/UserMasterPage.master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="User_Home" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:DataList ID="dlHome" runat="server" RepeatColumns="3" OnItemCommand="dlHome_ItemCommand"
        Width="100%">
        <ItemTemplate>
            <div id="products">
                <a href="ProductDetails.aspx?pId=<%#Eval("B_ID") %>">
                    <asp:Image ID="Image1" runat="server" Width="200" Height="200" ImageUrl='<%#Eval("B_Image") %>' />
                </a>&nbsp;</div>
            <div id="productname">
                <%#Eval("B_Name") %>
            </div>
            <div id="delivery_text_new">
                Prices includes delivery & GST
            </div>
            <asp:LinkButton ID="LinkButton1" runat="server" CssClass="buy_now" CommandName="AddCart"
                CommandArgument='<%#Eval("B_ID") %>'>
            <div id="price">
                    $
                    <%#Eval("B_Price") %>
                </div>
                <div id="buy">
                    Buy Now
                </div>
            
            </asp:LinkButton>
        </ItemTemplate>
    </asp:DataList>
</asp:Content>

